Page({

  /**
   * 页面的初始数据
   */
  data: {
    items:[
      { value: '买错了', name: '买错了'},
      { value: '买多了', name: '买多了' },
      { value: '商品问题', name: '商品问题' },
    ],
    itemBusiness: [
      { value: '未到收货', name: '未到收货' },
      { value: '已收到货', name: '已收到货' },
      { value: '仅退款', name: '仅退款' },
      { value: '退款退货', name: '退款退货' },
    ]
  },
  radioChange:function(e){
    // var index = e.detail.value.lastIndexOf(' ')
    // var items = this.data.items;
    // for (var i = 0, len = items.length; i < len; ++i) {
    //   items[i].checked = items[i].value == e.detail.value
    // }
    // console.log('sddd')
  },
  submitBtns:function(){
    wx.navigateTo({
      url: '../orderRefund/orderRefund',
      success: function(res) {},
      fail: function(res) {},
      complete: function(res) {},
    })
  }
})